<?php
$this->breadcrumbs=array(
	'Bills'=>array('index'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'List Bills', 'url'=>array('index')),
	array('label'=>'Create Bills', 'url'=>array('create')),
	array('label'=>'View Bills', 'url'=>array('view', 'id'=>$model->id)),
	array('label'=>'Manage Bills', 'url'=>array('admin')),
);
?>

<h1>Update Bills <?php echo $model->id; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model,'suppliers'=>$suppliers)); ?>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'billsoutcome-grid',
	'dataProvider'=>$billsoutcomeProvider,
	'columns'=>array(
		'sum',
		'date',
		array(
			'class'=>'CButtonColumn',
			'updateButtonUrl'=>'CHtml::normalizeUrl(array("billsoutcome/update","id"=>$data->id))',
			'viewButtonUrl'=>'CHtml::normalizeUrl(array("billsoutcome/view","id"=>$data->id))',
			'deleteButtonUrl'=>'CHtml::normalizeUrl(array("billsoutcome/delete","id"=>$data->id,"returnUrl"=>Yii::app()->request->requestUri))',
		),
	),
)); ?>